package com.dale.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dale.common.dto.HotCollectionDto;
import com.dale.entity.HotCollections;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Gyt
 * @create 2021-06-21 - 10:12
 */

@Mapper
public interface HotCollectionsMapper extends BaseMapper<HotCollections> {

    List<HotCollectionDto> getHotCollections();

    List<HotCollectionDto> getHotCollectionsByAdmin();
}
